|
|
@@ -46,7 +46,11 @@ module TwitterConcern
|
46
|
46
|
|
47
|
47
|
module ClassMethods
|
48
|
48
|
def twitter_dependencies_missing
|
49
|
|
- "## Include the `twitter`, `omniauth-twitter`, and `cantino-twitter-stream` gems in your Gemfile to use Twitter Agents."
|
|
49
|
+ if defined?(Twitter)
|
|
50
|
+ "## Set TWITTER_OAUTH_KEY and TWITTER_OAUTH_SECRET in your environment to use Twitter Agents."
|
|
51
|
+ else
|
|
52
|
+ "## Include the `twitter`, `omniauth-twitter`, and `cantino-twitter-stream` gems in your Gemfile to use Twitter Agents."
|
|
53
|
+ end
|
50
|
54
|
end
|
51
|
55
|
end
|
52
|
56
|
end
|